#include <iostream>
#include <vector>

using namespace std;



// 创建存放“存放int数据的vector”的vector，尝试进行遍历，并体会vector对象和元素的存储位置

int main(void)
{
    vector<vector<int>> vv{{1}, {2, 3}, {4, 5, 6}, {7, 8, 9, 10}};

    cout << "vv: " << &vv << endl;
    for(auto& v : vv){

        cout << "v: " << &v << endl;
        for(auto & num : v){
            cout << num << " ";
        }
        cout << endl;
    }

    return 0;
}